<template>
    <div class="service-index">
        <h-header title="服务详情"></h-header>
        <div class="content">
            <div v-html="detail" class="detail">

            </div>
        </div>
    </div>
    
</template>

<script>
import Header from '../common/header';
import axios from 'axios';
import Wx from 'weixin-js-sdk';
import { MessageBox, Toast, Popup } from 'mint-ui';
export default {
    data () {
        return {
            id: this.$route.query.id,
            detail: ''
        }
    },
   components: {
        'h-header': Header,
        'mt-popup': Popup,  
    },
    created () {
        const vm = this;
        axios.post('/Weixin/Hotel/serviceDetail',{id: vm.id}).then(res => {
            const data = res.data;
            // vm.datail
            console.log(data);
            vm.detail = data.data.info;
        })
    }
}
</script>

<style>

</style>
